home *** CD-ROM | disk | FTP | other *** search
/ Leonardo the Inventor / Leonardo The Inventor (93026)(Broderbund)(Riverdeep)(2004).iso / LEOWINMV / LEONARDO.DIR / 00022_Script_22 < prev    next >
Text File  |  1996-03-28  |  1KB  |  37 lines

  1. on startMovie
  2.   set the volume of sound 1 = 255
  3.   set the volume of sound 2 = 255
  4.   stopplayingloadingsound
  5.   setAuxiliarySearch
  6. end startMovie
  7.  
  8. on stopMovie
  9.   stopVoice
  10. end
  11.  
  12.  
  13. -- NOTE:
  14. --       For each invention, there is a movie or sequence
  15. --       labelled {invention name}, (Info on invention)
  16. --       followed by a frame labelled {invention name} "Menu" (Choose from...)
  17. --       followed by a frame labelled {invention name} "Words" (LeoÆs Words)
  18. --       followed by a frame labelled {invention name} "Time" (Our Time)
  19. --       followed by a frame labelled {invention name} "Game".
  20. --       The game is usually a separate movie, called from Game frame.
  21.  
  22.  
  23. on playContentsBtn
  24.   global alreadyViewedTOC
  25.   if alreadyViewedTOC = empty then set alreadyViewedTOC = false
  26.   if alreadyViewedTOC then go the frame + 1
  27.   else set alreadyViewedTOC = true
  28. end playContentsBtn
  29.  
  30. on hiliteContentsButton which
  31.   if the castNum of sprite 19 > 0 then
  32.     if the castType of cast (the castNum of sprite 19) = #digitalvideo then
  33.       set the movierate of sprite 19 to 0
  34.     end if
  35.   end if
  36.   go frame which&&"hilited"
  37. end